package com.spring02.demo.utils;

import org.springframework.stereotype.Component;

@Component("txManager")
public class TxManager {
    public void begin(){
        System.out.println("开启事务");
    }

    public void commit(){
        System.out.println("提交事务");
    }
}
